package com.whfc.fse.event;

import com.whfc.fse.dto.FseLiftDTO;
import org.springframework.context.ApplicationEvent;

/**
 * @Description: 统计升降机基本信息事件
 * @author: xugcheng
 * @version: 1.0
 * @date: 2020-12-01 16:16
 */
public class SyncLiftBaseEvent extends ApplicationEvent {

    /**
     * 项目ID
     */
    private Integer deptId;

    /**
     * 塔机基本信息
     */
    private FseLiftDTO dataDTO;

    public SyncLiftBaseEvent(Integer deptId, FseLiftDTO dataDTO) {
        super(deptId);
        this.deptId = deptId;
        this.dataDTO = dataDTO;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public FseLiftDTO getDataDTO() {
        return dataDTO;
    }

    public void setDataDTO(FseLiftDTO dataDTO) {
        this.dataDTO = dataDTO;
    }
}
